package com.zzyl.vo;

import com.zzyl.base.BaseVo;

import com.zzyl.entity.ProjectPlans;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 护理计划视图对象
 */
@Data
@ApiModel(value = "护理计划视图对象",description = "传输给前端的护理计划视图对象")
public class NursingPlanVo extends BaseVo{

    @ApiModelProperty(value = "护理计划的名称", required = true, example = "日常护理")
    private String planName;

    @ApiModelProperty(value = "排序号", example = "1")
    private Integer sortNo;

    @ApiModelProperty(value = "服务时间", example = "09:00 - 10:00")
    private String serviceTime;

    @ApiModelProperty(value = "执行周期", example = "每周")
    private String executeCycle;

    @ApiModelProperty(value = "执行频次", example = "每日")
    private String executeFrequency;

    @ApiModelProperty(value = "计划执行时间", example = "2024-09-01T10:00:00Z")
    private String executeTime;

    @ApiModelProperty(value = "状态", allowableValues = "DRAFT, ACTIVE, INACTIVE", example = "ACTIVE")
    private String status;

    @ApiModelProperty(value = "项目被计划使用的次数", example = "1")
    private Long count;

    @ApiModelProperty(value = "总记录数", example = "5")
    private String total;

    @ApiModelProperty(value = "页面展示的条数", example = "1")
    private Long pageSize;

    @ApiModelProperty(value = "基于pageSize所计算出来的总页数", example = "1")
    private Long pages;

    @ApiModelProperty(value = "当前页面", example = "1")
    private Long page;

    @ApiModelProperty(value = "护理计划集合")
    private List<ProjectPlansVo> projectPlans;

    @ApiModelProperty(value = "记录")
    private List<NursingPlanVo> records;


}
